package com.lishe.lishe.lishe.module.mall.bean.category;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by DELL on 2017/11/7.
 */

public class CategoryFirst {
    private boolean isSecond;

    @SerializedName("cate_id")
    private String cate_id;

    @SerializedName("pid")
    private String pid;

    @SerializedName("original_cate_id")
    private String original_cate_id;

    @SerializedName("cate_name")
    private String cate_name;

    @SerializedName("img_name")
    private String img_name;

    @SerializedName("img_url")
    private String img_url;

    @SerializedName("item_id_limit")
    private String item_id_limit;

    @SerializedName("profit_rate_limit")
    private String profit_rate_limit;

    @SerializedName("shop_id_limit")
    private String shop_id_limit;

    //二级分类专有
    @SerializedName("son")
    private List<CategoryFirst> son;

    public String getCate_id() {
        return cate_id;
    }

    public void setCate_id(String cate_id) {
        this.cate_id = cate_id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getOriginal_cate_id() {
        return original_cate_id;
    }

    public void setOriginal_cate_id(String original_cate_id) {
        this.original_cate_id = original_cate_id;
    }

    public String getCate_name() {
        return cate_name;
    }

    public void setCate_name(String cate_name) {
        this.cate_name = cate_name;
    }

    public String getImg_name() {
        return img_name;
    }

    public void setImg_name(String img_name) {
        this.img_name = img_name;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getItem_id_limit() {
        return item_id_limit;
    }

    public void setItem_id_limit(String item_id_limit) {
        this.item_id_limit = item_id_limit;
    }

    public String getProfit_rate_limit() {
        return profit_rate_limit;
    }

    public void setProfit_rate_limit(String profit_rate_limit) {
        this.profit_rate_limit = profit_rate_limit;
    }

    public String getShop_id_limit() {
        return shop_id_limit;
    }

    public void setShop_id_limit(String shop_id_limit) {
        this.shop_id_limit = shop_id_limit;
    }

    public List<CategoryFirst> getSon() {
        return son;
    }

    public void setSon(List<CategoryFirst> son) {
        this.son = son;
    }

    public boolean isSecond() {
        return isSecond;
    }

    public void setSecond(boolean second) {
        isSecond = second;
    }

    @Override
    public String toString() {
        return "cate_id = " + cate_id + " , cate_name = " + cate_name;
    }
}
